import request from '@/utils/request'

export function list(query) {
	return request({
		url: '/department/list',
		method: 'get',
		params: query
	})
}

export function update(query) {
	return request({
		url: '/department/update',
		method: 'post',
		params: query
	})
}
